Oscillators
This Chapter focuses on OscillatorNodes.
- OscillatorNode demonstrates use of the built-in oscillator types and varying the oscillator's frequency
- Detuning shows use of detuning the pitch and how it relates to musical notation.
- There are two examples of creating custom oscillators using the PeriodicWave.
- Creating a square wave: implementation of a Vibrato effect, by modulating a delay line with a low frequency oscillator
- Creating a pulse wave, which is like a square wave but with a duty cycle parameter which controls how much of its period it spends near its peak value.
Code examples correspond to examples from Chapter 02 the book 'Working with the Web Audio API'.
Feel free to contact me at joshua.reiss@qmul.ac.uk